package com.business.consumer.controller;

import com.business.api.feign.TestFeign;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@RestController
public class TestController {

    @Resource
    private TestFeign testFeign;

    @GetMapping("/test")
    public Object test(Long id){
        return testFeign.getTest(id);
    }
}
